package com.cyf.plc.data.remote

import retrofit2.Response
import retrofit2.http.GET
import retrofit2.http.Query

interface Pm25Service {

    @GET("api/querys/pm2_5.json")
    suspend fun getPm25(
        @Query("city") city: String?,
        @Query("token") token: String
    ): Response<String>

    companion object {
        const val GET_PM25_URL = "http://www.pm25.in/"
        const val TOKEN = "yxGgXcc7YJq1Dxx9ahBL"
    }
}